package com.danbay.cloud.account.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 员工信息
 *
 * @author SJG
 *         2017/12/26.
 */
@TableName("tb_employee")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 姓名(名称)
     */
    private String name;
    /**
     * '手机号'
     */
    private String phoneNum;
    /**
     * '所属企业'
     */
    private Integer enterpriseId;
    /**
     * 绑定账户
     */
    private String bindAccount;
    /**
     * '1:已冻结，0:未冻结'
     */
    private Boolean freeze;
    /**
     * '添加时间'
     */
    private Date addTime;
    /**
     * '0:未删除、1:已删除'
     */
    private Boolean del;
}
